import array;

BLANK_CELL = 0;

WHITE_PAWN = 1;
WHITE_VAUKALAK = 2;
WHITE_GARMATA = 3;
WHITE_LADZIA = 4;
WHITE_GETMAN = 5;
WHITE_KNIAZ = 6;
WHITE_KNIAZHYCH = 7;

BLACK_PAWN = 8;
BLACK_VAUKALAK = 9;
BLACK_GARMATA = 10;
BLACK_LADZIA = 11;
BLACK_GETMAN = 12;
BLACK_KNIAZ = 13;
BLACK_KNIAZHYCH = 14;

WHITE_PEACES = array.array('i', [WHITE_PAWN, WHITE_VAUKALAK, WHITE_GARMATA, WHITE_LADZIA, WHITE_GETMAN, WHITE_KNIAZ, WHITE_KNIAZHYCH]);
BLACK_PEACES = array.array('i', [BLACK_PAWN, BLACK_VAUKALAK, BLACK_GARMATA, BLACK_LADZIA, BLACK_GETMAN, BLACK_KNIAZ, BLACK_KNIAZHYCH]);